package 面试.OOM;/*
 *@Author: helen
 *@Date:   2021/4/16 15:55
 *@Description:
 */

public class StackOverflowErrorDemo {
    public static void main(String[] args) {
        stackOverflowError();
    }

    private static void stackOverflowError() {
        stackOverflowError();  //Exception in thread "main" java.lang.StackOverflowError
    }
}
